<!DOCTYPE html>
<html lang="en">
<head>
	<title>MVC Core Exception</title>
	<meta charset="utf-8" />
	<link rel="stylesheet" type="text/css" href="{base_url}/css/exception.css" />
</head>
<body>
	<div id="wrapper">
		{#if:debug_mode:{#use:e:
			<h1>{_class}<small>{_code}</small></h1><br />
			<h2>Message:</h2>
			<div id="message">{_message}</div><br />
			<h2>Source Code:<small>{_file} (line: {_line})</small></h2>
			<div id="source">{_source}</div><br />
			<h2>Stack Trace:<small id="master">[expand all]</small></h2>
			<div id="trace">{_trace}</div>
			{#if:^until_crash:
				<br /><h2>HTML Output until the crash:</h2>
				<div id="output">{^until_crash}</div>
			}
		}}{#ifnot:debug_mode:
			<h1>Ooops !</h1><br />
			<h2>Something has been disrupted in the space-time continuum.</h2>
			<div id="message">Our genetically engineered lab rats will have to figure out what happened. Until then, you can <a href="javascript://" onclick="history.go(-1)">go back</a> to your previous location.</div>
		}
	</div>
	<script type="text/javascript" src="{base_url}/js/exception.js"></script>
</body>
</html>